package com.qishon.jdk5;

public enum SexEnum {

    MAN("男", 1), WOMAN("女", 0);

    private String shortName;
    private Integer value;

    SexEnum(String shortName, Integer value) {
        this.shortName = shortName;
        this.value = value;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }


}